package com.itheim.array;
/*
    手机测试类
 */
public class TestPhoneDemo {
    public static void main(String[] args) {
        PhoneDemo ph = new PhoneDemo();
        ph.brand = "小米";
        ph.price = 2698;
        System.out.println(ph.brand);
        System.out.println(ph.price);

        ph.call();
        ph.sendMessage();
        System.out.println(ph);
    }
}
